﻿/// <reference path="validation.ts" />
module Validation {
    var lettersRegxp = /^[A-Za-z]+$/;
    export class LetterOnlyValidator implements StringValidator {
        isAcceptable(s: string)
        {
            return lettersRegxp.test(s);
        }
    }
} 